package com.rtx.config.mybatis;

import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.UpdateProvider;

public interface MybatisHelpMapper{
	
	/**
	 * 获取当前对象属性生成插入语句
	 * @return
	 */
	@InsertProvider(type = SqlProvider.class,method = "insert")
	int rtxconfigColumnsSave(Object entity);
	
	/**
	 * 获取当前对象更新
	 * @param set
	 * @param where
	 * @return
	 */
	@UpdateProvider(type = SqlProvider.class,method = "upd")
	int rtxconfigUpdate(Object entity,Object where);
}
